home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / gfx / x11 / x3270_3_2_16.lha / amiga_src / menubarc.h < prev    next >
C/C++ Source or Header  |  2009-02-26  |  1KB  |  38 lines

  1. /*
  2.  * Copyright 1995, 1999 by Paul Mattes.
  3.  *  Permission to use, copy, modify, and distribute this software and its
  4.  *  documentation for any purpose and without fee is hereby granted,
  5.  *  provided that the above copyright notice appear in all copies and that
  6.  *  both that copyright notice and this permission notice appear in
  7.  *  supporting documentation.
  8.  */
  9.  
  10. /*
  11.  *    menubarc.h
  12.  *        Global declarations for menubar.c.
  13.  */
  14.  
  15. #if defined(X3270_MENUS) /*[*/
  16.  
  17. extern void HandleMenu_action(Widget w, XEvent *event, String *params,
  18.     Cardinal *num_params);
  19. extern void menubar_as_set(Boolean sensitive);
  20. extern void menubar_init(Widget container, Dimension overall_width,
  21.     Dimension current_width);
  22. extern void menubar_keypad_changed(void);
  23. extern Dimension menubar_qheight(Dimension container_width);
  24. extern void menubar_resize(Dimension width);
  25. extern void menubar_retoggle(struct toggle *t);
  26.  
  27. #else /*][*/
  28.  
  29. #define menubar_as_set(n)
  30. #define menubar_init(a, b, c)
  31. #define menubar_keypad_changed()
  32. #define menubar_qheight(n)    0
  33. #define menubar_resize(n)
  34. #define menubar_retoggle(t)
  35. #define HandleMenu_action ignore_action
  36.  
  37. #endif /*]*/
  38.